"""
RedFire Exceptions - 异常定义
============================
定义系统中使用的所有异常类型
"""

from .base_exceptions import (
    RedFireException,
    ValidationException,
    AuthenticationException,
    AuthorizationException,
    ConfigurationException
)

from .business_exceptions import (
    UserNotFoundException,
    UserAlreadyExistsException,
    InvalidCredentialsException,
    AccountLockedException,
    InsufficientBalanceException,
    InvalidTradeException,
    OrderNotFoundException,
    MarketClosedException
)

from .system_exceptions import (
    DatabaseException,
    CacheException,
    MessagingException,
    StorageException,
    ExternalServiceException,
    RateLimitException
)

__all__ = [
    # Base exceptions
    'RedFireException',
    'ValidationException', 
    'AuthenticationException',
    'AuthorizationException',
    'ConfigurationException',
    
    # Business exceptions
    'UserNotFoundException',
    'UserAlreadyExistsException',
    'InvalidCredentialsException',
    'AccountLockedException',
    'InsufficientBalanceException',
    'InvalidTradeException',
    'OrderNotFoundException',
    'MarketClosedException',
    
    # System exceptions
    'DatabaseException',
    'CacheException',
    'MessagingException',
    'StorageException',
    'ExternalServiceException',
    'RateLimitException'
]
